home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / libgmime2.2a-cil / TODO < prev   
Encoding:
Text File  |  2008-05-23  |  2.2 KB  |  63 lines

  1. The following is a list of known places for possible improvement to
  2. the GMime library. This list of tasks in no way indicates priority,
  3. that is to say that there is no rhyme or reason to the order that the
  4. tasks are presented in.
  5.  
  6.  
  7. - make thread-safe? some stuff already is, like the gmime-iconv code
  8. and some of the other charset stuff. Streams and other objects,
  9. however, are not. How can I do this...? And is it really needed?
  10.  
  11. - Possibly make the GMime parser incremental.
  12.  
  13. - modify address parser:
  14.  
  15. <charles> on usenet it's not uncommon to have header like "From: Joe Bob"
  16. <charles> where people use no address at all to avoid spammers
  17. <fejj> ok
  18. <charles> It would be nice if internet-address handled this
  19. <charles> have ->name == "Joe Bob" and ->value.addr == NULL
  20. <fejj> oh, so only support writing them? ah, that should be easy
  21. <charles> It looks like the else clause on line 582 is where a "Joe Bob" string fails
  22. <fejj> I was pondering how I could possibly parse that as a name :)
  23. <charles> No, I am asking about parsing
  24. <fejj> oh
  25. <charles> It would be nice for internet_address_parse_string() to return an 
  26. InternetAddress with a name of "Joe Bob" and a NULL addr
  27. <fejj> ah, okay
  28. <fejj> I guess I can do that
  29. <fejj> I'll have to modify my internet_address_to_string code to handle that too
  30. <fejj> but that should be easy
  31.  
  32. - S/MIMEv3: http://www.ietf.org/html.charters/smime-charter.html
  33.  
  34.  
  35.  
  36.  
  37. Ideas for GMime "3.0"
  38. =====================
  39.  
  40. - Make g_mime_stream_*_new() functions more consistent (maybe add
  41.   fs/FILE "from filename" functions too)
  42.  
  43. - Add internet_address_new_name_static() which would take static
  44.   strings (e.g. strings which should not be free'd on destroy) so that
  45.   apps can save string memory by reusing strings.
  46.  
  47. - GMimeStream's should take GError args so apps don't have to rely on
  48.   errno (really needed for apps that implement ssl streams or other
  49.   stream types which might not map well to libc's errno values)
  50.  
  51. - GMimeParser should also take a GError arg and/or return int error
  52.   codes.
  53.  
  54. - GMimeMultipartEncrypted::decrypt() needs to return a
  55.   GMimeSignatureStatus for signed/encrypted parts.
  56.  
  57. - Get rid of deprecated functions.
  58.  
  59.  
  60.  
  61. All questions and comments should be directed toward the author,
  62. Jeffrey Stedfast <fejj@gnome.org>
  63.